/*-------------------------------------------------------------------- 
This file deals with all positioning code, including background images
and generated content

[Table of contents] 

background-image
  podSprite.png / alphaSprite.png
  hSprite.png
  vSprite.png
  navSprite.png

Body
  Header / #header
    Navigation / #navbar
    External Sites/Resources Navigation / #resources

  Content / #content
    Input Form / #calculate
    noscript / noscript
    Fieldset / #input
    Logo / #logo
    Spikey / #spin
    Left column / #results
      Results / .pod
        Results header / .pod h1
        Sub-results / .sub
      Results footer / #computed
        Data Sources / #sources
        PDF Downlaod
        Notebook Download
    Right column / #sidebar
    Timeout / #timeout
	Extreme Load / #extremeLoad

  Footer / #footer
    Feedback form / #feedback
      email confirmation / #ec
    Footer links / #footer ul

-------------------------------------------------------------------*/  

/*--- basicSprite ---*/
#linkbar li a, #input, #logo, #equal, .equal, .top, .bot, #tmpSend, #feedback h2, #feedback fieldset > span, #more, #more ul li, #topics li, #try li a , #blurb b, noscript .top, noscript .bot, ul.thumbs li  {
  background-image: url(basicSprite.png);
  background-repeat:  no-repeat;
}

/*--- no background ---*/
#linkbar li, #more ul li a, #newbie li, #newbie li.more a, #resources li, #resources {
  background-image: none;
}

body {
  background:#FFF url(bg.png) fixed repeat-x left bottom;
  margin:0 auto;
  min-height: 100%;
}

li {
  /*background:transparent url(/images/bullet.gif) no-repeat scroll 0 0.38em;*/
  margin:0.65em 0;
  padding-left:1.5em;
}


  #header {
    z-index: 10000;
    white-space: nowrap;
    position:relative;
    margin: 0 auto 60px;
    padding-top: 3px;
    text-align:left;
    min-height: 27px;
    min-width: 870px;
    background: url(vSprite.gif) repeat-x 0 -60px;
  }

    #linkbar {
      position: relative;
      top: 5px;
      width:  610px;
      margin: 0 auto 76px; /* MEK line up the bottom of the input pod with the one on test */
    }
      #linkbar li {
        display:block;
        float:left;
        height:11px;
        margin:0;
        padding:0;
      }

        #linkbar li a {
          margin: 0;
          padding: 0;
          text-indent: -5000px;
          display: block;
          height: 100%;
          width: 100%;
	  outline: none;
        }
        #linkbar a[title*="Home"] {
          background-position:  0px -192px;
          width: 46px;
        }
        #linkbar a[title*="Home"]:hover {
          background-position:  0px -204px;
        }
        #linkbar a[title*="Examples"] {
          background-position:  -48px -192px;
          width: 80px;
        }
        #linkbar a[title*="Examples"]:hover {
          background-position:  -48px -204px;
        }
        #linkbar a[title*="Freq"] {
          background-position:  -190px -192px;
          width: 48px;
        }
        #linkbar a[title*="Freq"]:hover {
          background-position:  -190px -204px;
        }
        #linkbar a[title*="About"] {
          background-position:  -128px -192px;
          width: 62px;
        }
        #linkbar a[title*="About"]:hover {
          background-position:  -128px -204px;
        }
        #linkbar a[title*="Blog"] {
          background-position:  -238px -192px;
          width: 52px;
        }
        #linkbar a[title*="Blog"]:hover {
          background-position:  -238px -204px;
        }
	#linkbar a[title*="Community"] {
	  background-position:  -291px -192px;
 	  width: 95px;
	}
	#linkbar a[title*="Community"]:hover {
	  background-position:  -291px -204px;
	}
        #linkbar a[title*="Widgets"] {
          background-position:  -387px -192px;
          width: 98px;
        }
        #linkbar a[title*="Widgets"]:hover {
          background-position:  -387px -204px;
        }
	#linkbar li#nMore {
	  width:80px;
	  overflow: hidden;
	}


#more {
  background-position: -485px -191px;
  width: 80px;
  text-indent: -5000px;
  overflow: hidden;
  height: 13px;
  position: relative;
}

#more:hover {
  overflow: visible;
}
#more ul {
  display: none;
  position: absolute;
  background: url(more-nav-menu.png) no-repeat scroll 0 0;
  height: 184px;
  width: 215px;
  top: -8px;
  left: -3px;
  padding-bottom: 8px;
  padding-top: 20px;
}
#more:hover ul {
  display: block;
}

#more ul li {
  background-position: -572px -58px;
  float:none;
  line-height:13px;
  margin:10px 0 0 14px;
  overflow:visible;
  white-space:normal;
  width:180px !important;
  padding-left: 10px;
}

#more li a {
  background-image: none;
  text-indent: 0px;
}


#more li#bookmark{
  /*margin-bottom: 20px;*/
}

#more li#advertise, #advertise {
 margin-top: 15px;
}

/*-- resources menu ---*/
#resources {
  z-index: 100;
  position: absolute;
  right: 10px;
  top: -5px;
  width: 168px;
  height: 29px;
}

#resources:hover {
  background: url(menuBack.png) no-repeat 0px 2px;
  height: 194px;
}


  #resources h2 {
    position: relative;
    display: block;
    margin: 13px auto 8px;
    width: 143px;
    height:  10px;
  }

#resources h2:before {
  content: "";
  background: transparent url(basicSprite.png) no-repeat -354px -169px;
  width:  143px;
  height: 10px;
  display: block;
}


#resources ul {
  display: none;
  height: 165px;
  list-style-type: none;
}

#resources ul li {
  height: 18px;
  margin: 0;
}

#resources:hover ul{
  display: block;
}

#resources li:first-child, #resources li:first-child a{
  height: 32px;
  line-height:  32px;
}

#resources li:first-child {
  margin-bottom: 2px;
}

#resources li:last-child {
  margin-top: 12px;
}


#cache {
  width: 100%;
  height: 20px;
  background: transparent url(cacheBannerBack.png) repeat-x 0 0;
  position: absolute;
  top: 26px;
  padding-top: 4px;
  margin-right: 10px;
}


/*--- End header ---*/

  #content {
    margin:0 auto;
    position:relative;
    width:635px;
    z-index:10;
  }

/*--- #caclculate / main input ---*/
  #calculate {
    height: 81px;
    width: 575px;
    background:url(alphaBox.gif) no-repeat bottom left;
    margin-bottom: 27px;
    position: relative;
    z-index: 1;
  }
#input {
        border: 0;
        margin: 0 auto;
        padding: 0;
        width:540px;
        height: 36px;

        position: relative;
        top: 30%;
        background-position: -1px -33px;
        z-index: 10;
}
.dc #input:after {
  content: "";
}
#input .bot, .dc #input:after  {
        background:url(_background_top_inputdiv.gif) no-repeat 100% 100%;
        position: relative;
        height: 6px;
        bottom: -3px;
        border: 0;
        width: 393px;
        margin-top: 0px;
}

#logo {
  background-position: 1px -145px;
  display:block;
  height:43px;
  left:93px;
  position:absolute;
  top:-49px;
  width:352px;
}
#equal, .equal {
        cursor: pointer;
        display: block;
        width:13px;
        height:14px;
        background-position:  -545px -35px;
        }

#equal {
        margin:auto 0;
        border:0 none;
        position:absolute;
        right:11px;
        top:11px;
        height:14px;
        overflow:hidden;
        font-size: 0px;
}
input#equal {
  padding: 14px 0 0;
  height: 0px;
}

input:focus + a.equal {
  background-position:  -501px -318px;
  right: 11px;
}


.example-row .equal {
  padding-top: 1px;
  float: right;
}

    #i {
      border: 0;
      width:500px;
      margin: 9px 0px 0px 12px;
      z-index: 10;
    }

#spin {
  display:block;
  height:50px;
  left:-16px;
  position:relative;
  top:-7px;
  width:62px;
}


#spin.active {
   background: url(logoSpinner.gif) no-repeat;
   top: 0px;
   left: -1px;
}



#spin.thanks {
  background: url(spikey_thanks.gif);
  height: 80px;
  width: 75px;
  left: -75px;
  top: -20px;
}

/* when we don't want to display a label, give it the hidden class */
label.hidden {
        position:absolute;
        left:0px;
        top:-500px;
        width:1px;
        height:1px;
}

/*--- noscript ---*/
p#noscript {
  background-image: url(javascript-error-back.png);
  background-repeat: none;
  line-height: 58px;
  margin: -9px 0 27px !important;
  padding-left: 30px;
  position: relative;
  height: 58px;
  width: 545px;
}

/*#noscript .top, #noscript .bot {
 display: block;
 height: 15px;
 width: 575px;
 position: absolute; 
 left: -1px;
}

#noscript .bot {
  background-position:  0px -114px;
  top: -15px;
}

#noscript .bot {
  background-position: 0px -129px;
  bottom: -14px;
  top: auto;
}*/

/*--- pod ---*/
/* More complete pod styles are located in results.layout.css */
  .pod {
    background: url(hSprite.png) repeat-y -1728px 0px;
    margin: 0 12px 25px;
    clear: both;
    position:relative;
    width:550px;
    padding:  2px 0 0;
    z-index: 1;
  }

    .top, .bot {
      background-position: 0 -102px;
      border:0 none;
      display:block;
      height:5px;
      left:0;
      margin:0;
      padding:0;
      position:absolute;
      width:550px;
    }

    .pod > .top {
      top: -5px;
    }
    .pod > .bot {
      bottom: -5px;
      top: auto;
      background-position: 0px -108px;
    }

/*--- sidebar ---*/
#sidebar {
  position: absolute;
  right: -157px;
  margin-top: 21px;/*30px; /* was 27px */
  width: 204px;
  z-index: 201;

/* TODO REMOVE THIS ONCE ADS ARE DYNAMIC !!!!!!!! */
        padding-bottom: 200px;
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
}


  #inputArrow {
    position: absolute;
    left: -56px;
    top: 2px;
  }

  #howTo {
    position: absolute;
    right: -188px;
    top: -9px;
  }
  
#closePopup {
	background: url('newtoalpha-closer-popup.png') no-repeat;
	height: 84px;
	margin-left: -98px;
	margin-top: -80px;
	padding: 12px 13px;
	position: absolute;
	width: 103px;
}

#closePopup span {
	display: block;
	margin-top: 5px;
}

#closePopup span b {
	font-weight: normal
}
  
  #newbie {
    background: url('hSprite.png') repeat-y -6921px 0;
    margin-top: 6px;
    position: relative;
  }

    #newbie hr.top, #newbie hr.bot {
      background: url('newtoalpha-sprite.png') no-repeat scroll 0 0;
      width: 204px;
      height: 41px;
      top: -41px;
    }

    #newbie hr.bot {
      background-position: 0px -42px;
      top: auto;
      height: 14px;
      bottom: -14px;
    }

    #newbie > div {
      padding: 0px 0px 5px 18px;
      width: 183px;
    }

#newbie h2 {
  margin-bottom: 0px;
  top: -22px;
}

#newbie .close {
  background: url('newtoalpha-close.png');
  display: block;
  float: right;
  height: 22px;
  margin-top: -13px;
  margin-right: 24px;
  width: 21px;
}

#newbie .close:hover {
  background: url('newtoalpha-close-red.png');
}

#newbie #try {
  margin-top: -3px;
}

#newbie #try ul {
  margin-bottom: 7px;
}

#newbie #try ul li {
  margin: 0.5em 0;
  padding: 0;    
}

#newbie li {
  margin: 3px 0 !important;
}

#newbie li a {
  background-position: -570px -203px;
  padding-left: 10px;
}

#newbie #try > a {
  margin: 0;
  display: block;    
}

#newbie #try kbd {
  display: block;
  margin-left: 10px;
}

#sidebar h2 {
  position: relative;
  top: -22px;
  left: 18px;
}




/*--- end sidebar ---*/

#intro {
  background:#FFF url(hSprite.png) repeat-y scroll -1155px 0;
  margin:27px 0;
  padding:5px 0;
  position:relative;
  width:574px;
  z-index: 1;
}

  #intro p {
    padding: 0 0 5px;
    width: 280px;
    float: left;
  }

  #intro .pod {
    margin: 0 12px;
    z-index: 1;
  }

    #intro .pod > .top {
      top: -5px;
   /*   background-position: 0 -254px;*/
    }

    #blurb {
      width: 524px;
      height: 177px;
      margin: 7px 19px 0;
      z-index: 2;
    }

      #blurb h1 {
        float: left;
        padding: 5px 0px 4px;
        width: 280px;
        clear: none;
      }
      #blurb p+h1 {
        padding-top: 5px;
      }
      #blurb p {
        width: 286px;
      }

  #intro #blurb > p+a, #intro #blurb > p+a:visited {
    display: block;
    float: left;
    clear: left;
    padding: 7px 5px 0 0;
  }

  #intro #blurb > a+a {
    display: block;
    float: left;
    padding: 10px 5px;
}

   #blurb b {
     background-position: -572px -161px;
     height: 1em;
     padding: 0 3px;
   }


 #preview {
  height: 524px;
  width: 221px;
  display: block;
  /*float: right;*/
  position: absolute;
  right: 8px;
  top: -4px;
  z-index: 0;
}


#tutorial {
  background: url(vSprite.png) repeat-x 0 -729px;
  height: 29px;
  width: 325px;
  padding-right: 222px;
  margin: 2px 2px 0;
  z-index: 2;
}
#tutorial a {
  padding-left: 19px;
}



#inputs {
  display: block;
  height: 141px;
  width: 325px;
  padding: 20px 203px 0 19px;
  vertical-align: middle;
  background: url(vSprite.png) repeat-x 0px -758px;
  z-index: 1;
  margin: 0 2px;
}

#intro #inputs > a {
  display: block;
  float: left;
}
  #intro .pod > .bot, .dc #intro .pod:after {
    background-position:0 -216px;
  }

  #inputs > h2 {
    display: block;
    float: left;
    padding: 3px 10px 0 0;
  }
  .thumbs {
    display: block;
    height: 25px;
    border-top: 1px solid #ddd;
    width: 284px;
  }
  h2+.thumbs {
    border-top: none;
    width: 300px;
  }
    .thumbs > li,
    .thumbs > li > a {
      display: inline;
      position: relative;
      margin: 0;
      padding: 0;
    }
      .thumbs > li > a {
        z-index: 1;
        padding-left: 6px;
      }

      ul.thumbs > li:first-child > a{
        padding-left: 0;
      }
      ul.thumbs > li {
        background-position: -570px -162px;
        padding: 0 7px 0 11px;
      }
      ul.thumbs > li:first-child {
        background-image: none;
        padding-left: 0;
      }

   .framed {
        display: none;
        height:183px;
        left:20%;
        margin-top:-185px;
        position:absolute;
        width:162px;
        z-index: 10;
      }

      .framed img {
        display: block;
        position: absolute;
        top: 0;
        left: 18px;
      }

      .thumbs > li:hover .framed {
        display: block;
      }

     .frame{
        background:transparent url(home-examples-frame.png) no-repeat scroll 0 0;
        bottom:10px;
        height:183px;
        left:10px;
        margin:-227px auto 0;
        position:absolute;
        right:auto;
        top:auto;
        width:162px;
        z-index:2;
     }




  #topics {
    width: 325px;
    height: 118px;
    padding: 20px 222px 0 0;
    background: url(vSprite.png) repeat-x 0 -918px;
    margin: 0 2px;
  }

  #topics ul {
    float: left;
    width: 133px;
    padding-left: 23px;
  }
  #topics h2+ul {
    width: 112px;
    padding-left: 12px;
    position: relative;
    top: 20px;
  }

  #topics ul+ul {
    clear: none;
  }


  #topics ul li {
    background-position:  -566px -28px;
    margin: 0 0;
  }


  #topics h2 {
    padding: 3px 10px 0 19px;
    margin-bottom: -20px;
  }

  #toGallery {
   display: none;
   background: url(more-btn.png) no-repeat 0 0;
   width: 58px;
   height: 31px;
   z-index: 10;
   position: absolute;
   bottom: 10px;
   right: 3px;
  }

  #preview:hover ~ #toGallery, #toGallery:hover, #previewMap:hover ~ #toGallery {
    display: block;
  }



/* consolidating styles for transition to sprite images */
#intro > .top, #intro > .bot {
  display: block;
  position: absolute;
  left: 0px;
  height: 15px;
  width: 574px;
  margin: 0;
  padding: 0;
  border: 0;
}

#intro > .top {
  top: -14px;
  background-position: -2px -70px;
}


#intro > .bot {
  top: auto;
  bottom: -14px;
  background-position: -2px -86px;
}
#intro .pod .bot {
  z-index: -1;
}

#popanchor {
  clear: both;
}

#about {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background: url(gray_back.png) repeat scroll 0 0;
  z-index: 10001;
}

#about a {
background:transparent none repeat scroll 0 0;
color:#D4D4D4;
font-size:11px;
margin-top:4px;
padding-right:20px;
position:absolute;
right:10px;
text-indent:0;
top:-1px;
}

#about a.close img {
height:31px;
position:absolute;
top:-5px;
right: -11px;
width:29px;
}

#about .popup {
  position: relative;
  margin: 50px auto;
  width: 736px;
  height: 696px;
}


/* --- footer ---*/
#footer {
  margin: 68px 0;
  z-index: 1;
  position: relative;
  left: -30px;
}

#footer ul {
  width: 540px;
  margin: 0 auto 10px;
  padding: 0;
  min-height: 14px;
}

#footer ul li {
  float: left;
  margin: 0 auto;
  padding: 0;
  padding-left: 18px;
  padding-right: 19px;
  background: transparent url(pipe.gif) no-repeat scroll 0 70%;
}


#footer ul li:first-child {
  background: transparent none no-repeat scroll 0 0;
  padding-left: 0;
}


#footer ul li:last-child {
  padding-right: 0;
}


#launchpartner {
  display: none;
  margin: 0 auto 10px;
  padding-right: 10px;
  width: 540px;
}

/* --- feedback --- */
#feedback {
  width: 574px;
  margin: 0px auto 14px;
  z-index: 2;
  position: relative;
}

#feedback.open {
        width: 574px;
        background: #fff url(hSprite.png) repeat-y -1155px 0px;
        margin-bottom: 30px;
        }

#feedback >hr.top, #feedback >hr.bot {
  width: 574px;
  height: 15px;
  background-position: -1px -70px;
  top: -15px;
}


#feedback > hr.bot {
  background-position: -1px -86px;
  bottom: -15px;
  top: auto;
}

#feedback h2, #feedback fieldset > h2, #feedback fieldset > span {
  height: 17px;
  width: 127px;
  display: block;
  float: left;
  margin-top: -2px;
  margin-left: 15px;
  margin-right: -34px;
  cursor: pointer;
  text-indent: -5000px;
  z-index: 2;
  background-position:  -390px -152px;
}


#tmpMessage {
        width: 357px;
        position: relative;
        top: -2px;
        left: -15px;
        border: 1px inset silver;
        height: 16px;
        }
#tmpSend {
        background-position: -355px -144px;
        cursor:pointer;
        height:18px;
        left:515px;
        position:absolute;
        top:-2px;
        width:33px;
}

#feedback fieldset {
  z-index: 3;
  position: relative;
}

#feedback img {
  position: relative;
  top: 4px;
}
#feedback td>img {
  position: relative;
  top: -3px;
  margin: 0 4px 0 8px;
}

.fbtf {
        width:540px;
}

.fbtf td {
  padding: 2px;
}

.fbli, .fbls, .fblm, .fblb {height:30px;}
.fbls {height:90px;}
.fblm {clear:both;}

#feedback-textarea {
        width:394px;
        height:100px;
}

.fbselect{
        width:197px;
        /* height:20px; */
        margin:0;
        padding:0;
}

.fbtext {
  width: 190px;
  margin: 0;
  padding: 1pt 0pt 1pt 3px;
}

.fbname {
        width: 190px;
        margin:0;
        padding:1pt 0pt 1pt 3px;
}

.fbemail {
        width: 190px;
        margin:0;
        padding:1pt 0pt 1pt 3px;
}
#fbsb, #fbrc {
  text-align:right;
  float:right;
  padding-right:4px;
}

#fbsb {
  margin-top: 4px;
}

.fblc {height:260px;}

.fbwrap {
  width: 406px;
  margin: auto;
}

.fbwrap td {
  padding: 2px;
}

.fbwrap tr:first-child td {
  padding-top: 0;
}

/*--- email confirmation / ec ---*/
#ec {
  background: url(feedback-popup.png);
  width: 235px;
  height: 155px;
  position:absolute;
  z-index: 100;
  padding: 25px 25px 2px 46px;
}

  #ec .content {
    padding: 25px 25px 2px 46px;
  }

  #ec p {
    width: 191px;
    margin: 12px 0px 4px 0px;
  }

  #ec input[type=text] {
    margin: 0px 0px 4px 0;
    padding:1pt 0 1pt 3px;
    width:176px;
  }

  #ecSend {
     position: relative;
     top: 5px;
     left: 5px;
  }

/*--- TODO  ---*/ 
#Remember {margin-right: 4px;}


.hide {
  display: none;
}


#thanks {
  position: relative;
  margin: 30px auto 45px;
  width: 568px;
  height: 128px;
  background: url(thankyouBackMiddle.png) repeat-y;
}

#thanks hr.top, #thanks hr.bot {
  width: 568px;
  background: transparent url(thankyouBack.png) no-repeat -1px -1px;
}

#thanks hr.top {
  top: -12px;
  background: transparent url(thankyouBack.png) no-repeat -1px -1px;
  height:12px;
}


#thanks hr.bot {
  bottom: -13px;
  top: auto;
  background-position: -1px -14px;
  height: 13px;
}

#thanks h1 {
  position: absolute;
  top: 13px;
  left: 60px;
}

#thanks p {
  position: absolute;
  top: 50px;
  left: 60px;
}


#thanks address {
  position: absolute;
  top: 100px;
  left: 60px;
}

#thanks img.spikey {
  position: absolute;
  top: 10px;
  left: 15px;
}

#thanks img.close {
  display: block;
  position: absolute;
  top: -11px;
  right: 1px;
}












#linkbar li div#more-menu {
  background: url(basicSprite.png) no-repeat -485px -192px;
  width: 215px;
  text-indent: -5000px;
}    


#linkbar li div#more-menu:hover {
  background:transparent url(more-nav-menu.png) no-repeat scroll 0 -1px;
  height:240px;
  margin: -7px 0 0 -4px;
  position:absolute;
  text-indent:-5000px;
  width:235px;
}

#more-menu ul {
  margin-top: 22px;
}

#more-menu li {
  background: transparent url(sq.gif) no-repeat scroll 0 5px !important;
  float:none;
  line-height:13px;
  margin:8px 0 0 16px;
  overflow:visible;
  white-space:normal;
  width:190px !important;
  padding-left: 10px;
}

#more-menu li a {        
  background-image: none;
  text-indent: 0;
  font-family: Arial;
  font-size: 11px;   
  line-height: 13px;
  color: #5D5D5D !important;
  cursor: pointer; 
}

#more-menu li a:hover {
  color: #DB0303 !important;
}

#more-menu li#home {
  margin-top: 22px;
}

#more-menu li#professional {
  margin-top: 20px;
}

#more-menu li#partproject {
  margin-top: 21px;
}

#more-menu:hover ul {
  display: block;
}

